import request from '@/common/request'

export function listTaskrun(data) {
    return request({
        url: '/initial/taskrun/index',
        method: 'get',
        params: data
    })
}

export function createTaskrun(data) {
    return request({
        url: '/initial/taskrun/create',
        method: 'post',
        data: data
    })
}

export function updateTaskrun(data) {
    return request({
        url: '/initial/taskrun/update',
        method: 'post',
        data: data
    })
}

export function deleteTaskrun(data) {
    return request({
        url: '/initial/taskrun/delete',
        method: 'post',
        data: data
    })
}







